package com.yaowk.server;

import com.jfinal.core.Controller;
import com.yaowk.authc.model.Role;
import com.yaowk.authc.model.User;

/**
 * Created by yaowk on 2017/4/16.
 */
public class IndexController extends Controller {

    public void index() {
        User user = User.dao.findById(6);
        User user1 = User.dao.findByUserName("123");
        Role role = Role.dao.findById(1);
        renderJson("index");
    }
}
